<template>
  <div>
      <div class="tab_item_icon">
        <img :src="icon" alt="">
      </div>
      <div>
        <slot></slot>
      </div>
  </div>
</template>

<script>
export default {
    props:{
        icon: {
            type: String,
            required: true
        }
    }
}
</script>

<style scoped>
.tab_item_icon img {
    width: 25px;
}
</style>